<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Office Automation</title>
    <script src="js/jquery-3.3.1.js"></script>
    <script src="layui/layui.js"></script>
    <#--<link href="layui/css/layui.css"></link>-->
    <link rel="stylesheet" href="layui/css/layui.css">
</head>
<body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">

        <#--头部-->
        <div class="layui-header">
            <div class="layui-logo">Office Automation</div>
            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item">
                    <a href="">${userDepartment}</span></a>
                </li>
                <li class="layui-nav-item">
                    <a href=""><img src="${userImg}" class="layui-nav-img">${userName}</a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;">修改信息</a></dd>
                        <dd><a href="javascript:;">安全管理</a></dd>
                        <dd><a href="javascript:;">退出</a></dd>
                    </dl>
                </li>
            </ul>
        </div>

            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <div class="layui-side layui-bg-black">
                <div class="layui-side-scroll">
                    <ul class="layui-nav layui-nav-tree"  lay-filter="test">
                        <li class="layui-nav-item layui-nav-itemed">
                            <a class="" href="javascript:;">所有商品</a>
                            <dl class="layui-nav-child">
                                <dd><a href="javascript:;">列表一</a></dd>
                                <dd><a href="javascript:;">列表二</a></dd>
                                <dd><a href="javascript:;">列表三</a></dd>
                                <dd><a href="">超链接</a></dd>
                            </dl>
                        </li>
                        <li class="layui-nav-item">
                            <a href="javascript:;">解决方案</a>
                            <dl class="layui-nav-child">
                                <dd><a href="javascript:;">列表一</a></dd>
                                <dd><a href="javascript:;">列表二</a></dd>
                                <dd><a href="">超链接</a></dd>
                            </dl>
                        </li>
                        <li class="layui-nav-item"><a href="">云市场</a></li>
                        <li class="layui-nav-item"><a href="">发布商品</a></li>
                    </ul>
                </div>
            </div>


            <div class="layui-body">
                <!-- 内容主体区域 -->
                <#--<div style="padding: 15px;">内容主体区域</div>-->
                <div class="layui-tab" lay-allowClose="true">
                    <ul class="layui-tab-title">
                        <li class="layui-this">网站设置</li>
                        <li>用户基本管理</li>
                        <li>权限分配</li>
                        <li>全部历史商品管理文字长一点试试</li>
                        <li>订单管理</li>
                    </ul>
                    <div class="layui-tab-content">
                        <div class="layui-tab-item layui-show">
                            <iframe src="  http://www.baidu.com " width="100%" height="1000px" scrolling="no" frameborder="0">
                            </iframe>
                        </div>
                        <div class="layui-tab-item">2</div>
                        <div class="layui-tab-item">3</div>
                        <div class="layui-tab-item">4</div>
                        <div class="layui-tab-item">5</div>
                        <div class="layui-tab-item">6</div>
                    </div>
                </div>
            </div>

            <div class="layui-footer">
                <!-- 底部固定区域 -->
                © mar 月下 &nbsp;&nbsp;
                <span id="nowTime"></span>
            </div>


    </div>





    <script>
        //注意：导航 依赖 element 模块，否则无法进行功能性操作
        layui.use('element', function(){
            var element = layui.element;
        });


        setInterval("document.getElementById('nowTime').innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",1000);
    </script>

</body>
</html>